From: kfraser@localhost.localdomain Date: Mon, 2 Apr 2007 15:26:23 +0000 (+0100) Subject: xen: Remove two incorrect assertions. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15270^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22man:/?a=commitdiff_plain;h=970ce2580bd1403a8c3ac5ed8cf7055ca1e6b20f;p=xen.git xen: Remove two incorrect assertions. Signed-off-by: Keir Fraser --- diff --git a/xen/common/domain.c b/xen/common/domain.c index b1f11b75d9..b31ad9ce47 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -425,7 +425,6 @@ void vcpu_pause_nosync(struct vcpu *v) void vcpu_unpause(struct vcpu *v) { - ASSERT(v != current); if ( atomic_dec_and_test(&v->pause_count) ) vcpu_wake(v); } @@ -446,8 +445,6 @@ void domain_unpause(struct domain *d) { struct vcpu *v; - ASSERT(d != current->domain); - if ( atomic_dec_and_test(&d->pause_count) ) for_each_vcpu( d, v ) vcpu_wake(v);